const express = require('express')
const server = express()
server.use(express.static('./dist')) // dist 是项目的打包资源路径，一般为根目录下dist
server.listen(8012, () => console.log(`服务器 ${8012} 开启成功!`))
